02. Looking Forward
Capstone Component
Most mobile applications need to display collections of data to users. These collections are often provided by a remote data source with an unknown size that ranges from small to extremely large. Displaying this information on screen responsibly is an important task, to avoid stalling the UI and potentially even crashing the application. RecyclerView is the standard way to display collections of data to users. Think about your application, what types of data collections will you be displaying? What might your adapter look like? What about ViewHolders? Consider sketching out your collections with the data and views required to construct the UI.
In This Lesson
It is hard to think of a major application that does not use RecyclerView in the current ecosystem. Going through the applications on your phone, try and identify the features that use RecyclerView:
- What ViewHolders might be used?
- What Views are they composed of?
- What might those data models look like?
- What Adapters might they use? Do they support different types?
- Are there multiple interact-able elements?
- What do the clickHandlers do?